﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Skynet.BusinessEntities;
using Skynet.BusinessLogic.BusinessComponents;
namespace Skynet.ServiceProxies
{
    public class BCExamService : ClientBase<BusinessLogic.BusinessComponents.IBCExams>, BusinessLogic.BusinessComponents.IBCExams
    {
        public void MaintenanceExamCategories(IEnumerable<ExamCategory> items)
        {
            base.Channel.MaintenanceExamCategories(items);            
        }

        public void MaintenanceExams(Exam exam)
        {
            base.Channel.MaintenanceExams(exam);
        }

        public void MaintenanceQuestions(MaintenanceQuestionsOptions options = MaintenanceQuestionsOptions.CUD, BaseQuestion question = null)
        {
            base.Channel.MaintenanceQuestions(options, question);
        }

        public void MaintenanceAlternative(MaintenanceAlternativeOptions options = MaintenanceAlternativeOptions.CUD, BaseAlternative alternative = null)
        {
            base.Channel.MaintenanceAlternative(options, alternative); 
        }

        public void ActivateExam(Guid CustomerId, Guid ExamId, short duration, DateTime validFrom, DateTime validTo)
        {
            base.Channel.ActivateExam(CustomerId, ExamId, duration, validFrom, validTo);  
        }

        public void AcceptExam(Guid ExamByCustomerId)
        {
            base.Channel.AcceptExam(ExamByCustomerId);
        }

        public void FinishExam(Guid ExamByCustomerId)
        {
            base.Channel.FinishExam(ExamByCustomerId); 
        }
    }
}
